package com.inossem.warehousestorage_inossem.bean.allocation;

import java.util.List;

/**
 * TODO
 *
 * @author 詹建宇
 * @time on 2018/4/9 11:18
 * @email jianyu.zhan@inossem.com
 */
public class AllocationInSubmitRequestBean {

    /**
     * stock_input_id : 10
     * stock_input_code : 1
     * allocate_id : 1
     * item_list : [{"allocate_item_id":"15","stock_position_list":[{"position_id":"4","area_id":"1","wh_id":"1","batch":"100021555","sn_id":"100021555","package_id":"100021555","qty":"6"},{"position_id":"1","area_id":"1","wh_id":"1","batch":"100021556","sn_id":"100021555","package_id":"100021555","qty":"4"}]}]
     */

    private String stock_input_id;
    private String stock_input_code;
    private String allocate_id;
    private List<ItemListBean> item_list;

    public String getStock_input_id() {
        return stock_input_id;
    }

    public void setStock_input_id(String stock_input_id) {
        this.stock_input_id = stock_input_id;
    }

    public String getStock_input_code() {
        return stock_input_code;
    }

    public void setStock_input_code(String stock_input_code) {
        this.stock_input_code = stock_input_code;
    }

    public String getAllocate_id() {
        return allocate_id;
    }

    public void setAllocate_id(String allocate_id) {
        this.allocate_id = allocate_id;
    }

    public List<ItemListBean> getItem_list() {
        return item_list;
    }

    public void setItem_list(List<ItemListBean> item_list) {
        this.item_list = item_list;
    }

    public static class ItemListBean {
        /**
         * allocate_item_id : 15
         * stock_position_list : [{"position_id":"4","area_id":"1","wh_id":"1","batch":"100021555","sn_id":"100021555","package_id":"100021555","qty":"6"},{"position_id":"1","area_id":"1","wh_id":"1","batch":"100021556","sn_id":"100021555","package_id":"100021555","qty":"4"}]
         */

        private String allocate_item_id;
        private List<StockPositionListBean> stock_position_list;

        public String getAllocate_item_id() {
            return allocate_item_id;
        }

        public void setAllocate_item_id(String allocate_item_id) {
            this.allocate_item_id = allocate_item_id;
        }

        public List<StockPositionListBean> getStock_position_list() {
            return stock_position_list;
        }

        public void setStock_position_list(List<StockPositionListBean> stock_position_list) {
            this.stock_position_list = stock_position_list;
        }

        public static class StockPositionListBean {
            /**
             * position_id : 4
             * area_id : 1
             * wh_id : 1
             * batch : 100021555
             * sn_id : 100021555
             * package_id : 100021555
             * qty : 6
             */

            private String position_id;
            private String area_id;
            private String wh_id;
            private String batch;
            private String sn_id;
            private String package_id;
            private String qty;

            public String getPosition_id() {
                return position_id;
            }

            public void setPosition_id(String position_id) {
                this.position_id = position_id;
            }

            public String getArea_id() {
                return area_id;
            }

            public void setArea_id(String area_id) {
                this.area_id = area_id;
            }

            public String getWh_id() {
                return wh_id;
            }

            public void setWh_id(String wh_id) {
                this.wh_id = wh_id;
            }

            public String getBatch() {
                return batch;
            }

            public void setBatch(String batch) {
                this.batch = batch;
            }

            public String getSn_id() {
                return sn_id;
            }

            public void setSn_id(String sn_id) {
                this.sn_id = sn_id;
            }

            public String getPackage_id() {
                return package_id;
            }

            public void setPackage_id(String package_id) {
                this.package_id = package_id;
            }

            public String getQty() {
                return qty;
            }

            public void setQty(String qty) {
                this.qty = qty;
            }
        }
    }
}
